package com.zhixing.reward.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhixing.reward.domain.enums.RewardStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Reward {
    private Long id;
    private Integer userId;
    private String name;
    private BigDecimal rewardOneAmount;
    private Integer rewardOneOrderNumber;
    private RewardStatus rewardOneStatus;
    private BigDecimal rewardTwoAmount;
    private Integer rewardTwoOrderNumber;
    private RewardStatus rewardTwoStatus;
    private BigDecimal rewardThreeAmount;
    private Integer rewardThreeOrderNumber;
    private RewardStatus rewardThreeStatus;
    @TableField("`year_month`")
    private String yearMonth;
}
